package com.example.restaurant.common.allenum;

public enum DishStatus {
    TAKE_DOWN("TAKE_DOWN","下架"),
    USE("USE","上架"),
    SOLD_OUT("SOLD_OUT","售罄");
    private String code;
    private String message;

    DishStatus(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
